package com.mew.common.dc.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mew.common.entity.config.Room;
import com.mew.common.vo.web.RoomVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author SK123
 * @since 2020-11-26
 */
@DS("mew_core")
public interface RoomMapper extends BaseMapper<Room> {
    List<RoomVo> getRoomVos(@Param("gameType")String gameType, @Param("roomType") String roomType, @Param("name") String name);

    void state(@Param("ids")Long[] ids,@Param("state") Integer state);
}
